systemd.services.<name>.environment

Environment variables passed to the service's processes.

Type
attribute set of (null or string or absolute path or package)
Default
{ }
Example
{
  LANG = "nl_NL.UTF-8";
  PATH = "/foo/bar/bin";
}
Declared
<nixpkgs/nixos/modules/system/boot/systemd.nix>